#ifndef PLAYSCENE_H
#define PLAYSCENE_H
#include <QMainWindow>
#include <mycoin.h>
class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    //explicit PlayScene(QWidget *parent = nullptr);
    PlayScene(int levelNum);
    int levelIndex;//记录所选关卡
    void paintEvent(QPaintEvent*);//重新paintEvent事件，画背景图
    int gameArray[4][4];//维护每个关卡的具体数据
    MyCoin* coinBtn[4][4];
    bool isWin;//是否胜利的标志
signals:
 void chooseSceneBack();
};
#endif // PLAYSCENE_H
